package com.jiwanqing.demo.entity;

public class Student {
    private Integer id;
    private String username;
    private Integer fraction;
    private String grade;

    public Student() {
        this.username = username;
        this.fraction = fraction;
    }

    public Student(String username, Integer fraction) {
        this.username = username;
        this.fraction = fraction;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getFraction() {
        return fraction;
    }

    public void setFraction(Integer fraction) {
        this.fraction = fraction;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", fraction=" + fraction +
                ", grade='" + grade + '\'' +
                '}';
    }
}
